package com.zy.cat.entity.dev.act;

import java.util.Date;
import java.util.UUID;

import javax.persistence.*;

/**
 * @Description: 天天抽奖用户抽奖详情表
 * @author xiake
 * @date 2020-08-27 02:36:53
 */
@Entity
@Table(name = "zy_cat_daily_draw_detail")
public class CatDailyDrawDetail {
    /**
     * 抽奖ID
     */
	@Id
    private String id=UUID.randomUUID().toString().replace("-", "");

    /**
     * 抽奖用户
     */
    private String pid;

    /**
     * 抽奖活动ID
     */
    @Column(name = "draw_id")
    private Long drawId;

    /**
     * 幸运值(0-100)
     */
    @Column(name = "lucky_value")
    private Integer luckyValue;

    /**
     * 增加幸运值次数
     */
    @Column(name = "increase_count")
    private Integer increaseCount;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 获取抽奖ID
     *
     * @return id - 抽奖ID
     */
    public String getId() {
        return id;
    }

    /**
     * 设置抽奖ID
     *
     * @param id 抽奖ID
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取抽奖用户
     *
     * @return pid - 抽奖用户
     */
    public String getPid() {
        return pid;
    }

    /**
     * 设置抽奖用户
     *
     * @param pid 抽奖用户
     */
    public void setPid(String pid) {
        this.pid = pid;
    }

    /**
     * 获取抽奖活动ID
     *
     * @return draw_id - 抽奖活动ID
     */
    public Long getDrawId() {
        return drawId;
    }

    /**
     * 设置抽奖活动ID
     *
     * @param drawId 抽奖活动ID
     */
    public void setDrawId(Long drawId) {
        this.drawId = drawId;
    }

    /**
     * 获取幸运值(0-100)
     *
     * @return lucky_value - 幸运值(0-100)
     */
    public Integer getLuckyValue() {
        return luckyValue;
    }

    /**
     * 设置幸运值(0-100)
     *
     * @param luckyValue 幸运值(0-100)
     */
    public void setLuckyValue(Integer luckyValue) {
        this.luckyValue = luckyValue;
    }

    /**
     * 获取增加幸运值次数
     *
     * @return 
increase_count - 增加幸运值次数
     */
    public Integer getIncreaseCount() {
        return increaseCount;
    }

    /**
     * 设置增加幸运值次数
     *
     * @param 
increaseCount 增加幸运值次数
     */
    public void setIncreaseCount(Integer increaseCount) {
        this.increaseCount = increaseCount;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取修改时间
     *
     * @return update_time - 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置修改时间
     *
     * @param updateTime 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    

	public CatDailyDrawDetail() {
		super();
	}

	public CatDailyDrawDetail(String pid, Long drawId, Integer luckyValue, Integer increaseCount, Date createTime) {
		super();
		this.pid = pid;
		this.drawId = drawId;
		this.luckyValue = luckyValue;
		this.increaseCount = increaseCount;
		this.createTime = createTime;
	}
    
}